package com.lemei.cn.utils;

import android.widget.Toast;

import com.lemei.cn.lemeiapp.LeMei;

/**
 * Created by 赵航 on 2017/5/26.
 */

public class ToastMake {
    private static Toast toastMake;
    public static void showToast(String text){
        if (toastMake==null){
            toastMake = Toast.makeText(LeMei.context, text, Toast.LENGTH_SHORT);
        }else {
            toastMake.setText(text);
        }
        toastMake.show();

    }
}
